package com.car.dal.object;

import java.io.Serializable;
import java.util.Date;

import com.car.annotation.DBField;
import com.car.annotation.DBTable;


@DBTable(tableName = "tg_goods", defaultSort = "id", defaultDir = "desc")
public class TgGoods implements Serializable {
    @DBField(field = "id")
    private Long id;
    @DBField(field = "username")
    private String username;

    public Integer getApply_status() {
        return apply_status;
    }

    public void setApply_status(Integer apply_status) {
        this.apply_status = apply_status;
    }

    @DBField(field = "type")

    private Integer type;
    @DBField(field = "apply_status")
    private Integer apply_status;//申请状态	1提交申请 2.审核成功 3.采购中 4.李莎审核 5.入库 6 出库

    @DBField(field = "good_name_id")
    private Long good_name_id;
    @DBField(field = "goods_name")
    private String goods_name;

    @DBField(field = "center_id")
    private Integer center_id;

    @DBField(field = "number")
    private Integer number;

    @DBField(field = "model")
    private String model;
    @DBField(field = "code")
    private String code;

    @DBField(field = "purpose")
    private String purpose;
    @DBField(field = "state")
    private String state;
    private String notUsername;

    public String getNotUsername() {
        return notUsername;
    }

    public void setNotUsername(String notUsername) {
        this.notUsername = notUsername;
    }

    public String getCenter_name() {
        return center_name;
    }

    public void setCenter_name(String center_name) {
        this.center_name = center_name;
    }

    @DBField(field = "msg")
    private String msg;

    @DBField(field = "center_name")
    private String center_name;

    public String getField() {
        return field;
    }

    public void setField(String field) {
        this.field = field;
    }

    @DBField(field = "create_time")
    private Date create_time;

    @DBField(field = "center")
    private String center;
    private String field;//需要查询的字段
    @DBField(field = "item_name")
    private String item_name;
    @DBField(field = "use_period")
    private String use_period;
    @DBField(field = "postage")
    private String postage;
    @DBField(field = "residual_length")
    private String residual_length;

    @DBField(field = "renew_time")
    private String renew_time;

    public Integer getFail_apply_status() {
        return fail_apply_status;
    }

    public void setFail_apply_status(Integer fail_apply_status) {
        this.fail_apply_status = fail_apply_status;
    }

    @DBField(field = "supplier")

    private String supplier;
    @DBField(field = "fail_apply_status")
    private Integer fail_apply_status;

    public String getRegion() {
        return region;
    }

    public void setRegion(String region) {
        this.region = region;
    }

    @DBField(field = "region")

    private String region;

    public Integer getApplied() {
        return applied;
    }

    public void setApplied(Integer applied) {
        this.applied = applied;
    }

    @DBField(field = "broadband_type")

    private String broadband_type;
    @DBField(field = "phone")
    private String phone;
    @DBField(field = "applied")
    private Integer applied;//1代表是申请物品

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String getResponsible_tea() {
        return responsible_tea;
    }

    public void setResponsible_tea(String responsible_tea) {
        this.responsible_tea = responsible_tea;
    }

    @DBField(field = "phone")
    private String responsible_tea;

    public String getCompany() {
        return company;
    }

    public void setCompany(String company) {
        this.company = company;
    }

    @DBField(field = "broadband_type2")

    private String broadband_type2;
    @DBField(field = "company")
    private String company;

    public Double getUnit_price() {
        return unit_price;
    }

    public void setUnit_price(Double unit_price) {
        this.unit_price = unit_price;
    }

    public String getPurchasing_link() {
        return purchasing_link;
    }

    public void setPurchasing_link(String purchasing_link) {
        this.purchasing_link = purchasing_link;
    }

    @DBField(field = "unit_price")
    private Double unit_price;

    public Double getTotal_calculation() {
        return total_calculation;
    }

    public void setTotal_calculation(Double total_calculation) {
        this.total_calculation = total_calculation;
    }

    @DBField(field = "purchasing_link")

    private String purchasing_link;
    @DBField(field = "total_calculation")
    private Double total_calculation;//总额

    private Long Firstrownum;
    private Long pagesize;

    public String getRenew_time() {
        return renew_time;
    }

    public void setRenew_time(String renew_time) {
        this.renew_time = renew_time;
    }

    public String getSupplier() {
        return supplier;
    }

    public void setSupplier(String supplier) {
        this.supplier = supplier;
    }

    public String getBroadband_type() {
        return broadband_type;
    }

    public void setBroadband_type(String broadband_type) {
        this.broadband_type = broadband_type;
    }

    public String getBroadband_type2() {
        return broadband_type2;
    }

    public void setBroadband_type2(String broadband_type2) {
        this.broadband_type2 = broadband_type2;
    }


    public String getItem_name() {
        return item_name;
    }

    public void setItem_name(String item_name) {
        this.item_name = item_name;
    }

    public String getUse_period() {
        return use_period;
    }

    public void setUse_period(String use_period) {
        this.use_period = use_period;
    }

    public String getPostage() {
        return postage;
    }

    public void setPostage(String postage) {
        this.postage = postage;
    }

    public String getResidual_length() {
        return residual_length;
    }

    public void setResidual_length(String residual_length) {
        this.residual_length = residual_length;
    }


    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }


    public Integer getCenter_id() {
        return center_id;
    }

    public void setCenter_id(Integer center_id) {
        this.center_id = center_id;
    }

    public Integer getNumber() {
        return number;
    }

    public void setNumber(Integer number) {
        this.number = number;
    }

    public String getModel() {
        return model;
    }

    public void setModel(String model) {
        this.model = model;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getPurpose() {
        return purpose;
    }

    public void setPurpose(String purpose) {
        this.purpose = purpose;
    }

    public String getState() {
        return state;
    }

    public void setState(String state) {
        this.state = state;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public Date getCreate_time() {
        return create_time;
    }

    public void setCreate_time(Date create_time) {
        this.create_time = create_time;
    }

    public Long getFirstrownum() {
        return Firstrownum;
    }

    public void setFirstrownum(Long firstrownum) {
        Firstrownum = firstrownum;
    }

    public Long getPagesize() {
        return pagesize;
    }

    public void setPagesize(Long pagesize) {
        this.pagesize = pagesize;
    }

    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }


    public Long getGood_name_id() {
        return good_name_id;
    }

    public void setGood_name_id(Long good_name_id) {
        this.good_name_id = good_name_id;
    }

    public String getGoods_name() {
        return goods_name;
    }

    public void setGoods_name(String goods_name) {
        this.goods_name = goods_name;
    }

    public String getCenter() {
        return center;
    }

    public void setCenter(String center) {
        this.center = center;
    }


}
